<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Insert title here</title>
</head>
<body>

<!-- 如果web.xml中的配置是
	  <servlet-mapping>
  			<servlet-name>springDispatcherServlet</servlet-name>
  			<url-pattern>.action</url-pattern>
 	 </servlet-mapping>

	<a href="user/welcome.action">first springmvc - welcome</a>	交由springmvc处理 找 @RuestMapping映射
	<a href="user/welcome.action">first springmvc - welcome</a>交由springmvc处理  找 @RuestMapping映射
	<a href="xxx/welcome">first springmvc - welcome</a>			交由servlet处理  找url-parttern /@WebServlet()
 -->
<a href="handler/welcome3/xyz/abcz/asb/test">33333333get - welcome</a>
<br/>
<a href="handler/welcome4/abc/test">4444444get - welcome</a>
<br/>
<a href="handler/welcome5/zs">555welcome</a>

<form action="handler/welcome" method="post">
	name:<input name="name"  ><br/>
	age:<input name="age"  >
	height:<input name="height"  >
	<input type="submit" value="post">
</form>

<br/>======<br/>

<form action="handler/testRest/1234" method="post">
	<input type="submit" value="增">
</form>

<form action="handler/testRest/1234" method="post">
	<input type="hidden"  name="_method" value="DELETE"/>
	<input type="submit" value="删">
</form>

<form action="handler/testRest/1234" method="post">
	<input type="hidden"  name="_method" value="PUT"/>
	<input type="submit" value="改">
</form>

<form action="handler/testRest/1234" method="get">
	<input type="submit" value="查">
</form>
------------<br/>
<form action="handler/testParam" method="get">
	name:<input name="uname" type="text" />
	<input type="submit" value="查">
</form>
<br/>
<a href="handler/testRequestHeader">testRequestHeader</a>
<br/>
<br/>
<a href="handler/testCookieValue">testCookieValue</a><br/>
<a href="handler/testServletAPI">testServletAPI</a>
<br/>
<form action="handler/testObjectProperties" method="post">
	id:<input name="id" type="text" />
	name:<input name="name" type="text" />
	家庭地址:<input name="address.homeAddress" type="text" />
	学校地址:<input name="address.schoolAddress" type="text" />
	<input type="submit" value="查">
</form>




</body>
</html>